package com.base.common.edu.entity;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;

/**
 * @Author Maple.Chen
 * @Description 教职工权限控制-角色组
 * @Date 20:36 2021/1/20
 **/
@Data
@ApiModel(description = "教职工权限控制-角色组实体")
@JsonIgnoreProperties(value = {"handler"})
public class SysGroup implements Serializable {

    private static final long serialVersionUID = 6176969760604453511L;
    @ApiModelProperty( value = "组ID")
    private String groupId;
    @ApiModelProperty( value = "组名")
    private String groupName;
    @ApiModelProperty( value = "教职工映射集合")
    private Set<Staff> staffs = new HashSet<Staff>();
    @ApiModelProperty( value = "角色的映射集合")
    private Set<SysRole> sysRoles = new HashSet<SysRole>();

}
